﻿@model IEnumerable<SelectListItem>
@{
    foreach (var item in Model)
    {
           
    <div class="editor-label">
        @Html.Label(item.Text)
    </div>
    <div class="editor-field">
        <input type="checkbox" @(item.Selected ? "checked=\"checked\"" : string.Empty) name="roles" id="@(item.Value)" value="@(item.Value)"/>
    </div>    
    }     
}
